#!/bin/bash

DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"

java \
    -XX:+CMSClassUnloadingEnabled \
    -XX:MaxPermSize=256M \
    -Xms128M \
    -Xmx512M \
    -Xss1M \
    -Djava.util.logging.config.file="$DIR/logging.properties" \
    -Dsbt.ivy.home="$IVY2" \
    -Dsbt.log.noformat=true \
    -jar "${HOME}/.sbt/sbt-launch-0.13.7.jar" \
     "$@"
